/// id : "1423125553740808194"
/// title : "第一讲-如何注册店铺"
/// summary : "手把手教您如何快速的注册店铺"
/// imgUrl : "http://1500004307.vod2.myqcloud.com/43839cbevodtranscq1500004307/9effb6c73701925921975084613/coverBySnapshot/coverBySnapshot_10_0.jpg"
/// type : "video"
/// publishTime : "2021-08-24 10:46:45"

class ColumnLesson {
  ColumnLesson({
      String? id, 
      String? title, 
      String? summary, 
      String? imgUrl, 
      String? type, 
      String? publishTime,}){
    _id = id;
    _title = title;
    _summary = summary;
    _imgUrl = imgUrl;
    _type = type;
    _publishTime = publishTime;
}

  ColumnLesson.fromJson(dynamic json) {
    _id = json['id'];
    _title = json['title'];
    _summary = json['summary'];
    _imgUrl = json['imgUrl'];
    _type = json['type'];
    _publishTime = json['publishTime'];
  }
  String? _id;
  String? _title;
  String? _summary;
  String? _imgUrl;
  String? _type;
  String? _publishTime;

  String? get id => _id;
  String? get title => _title;
  String? get summary => _summary;
  String? get imgUrl => _imgUrl;
  String? get type => _type;
  String? get publishTime => _publishTime;

  Map<String, dynamic> toJson() {
    final map = <String, dynamic>{};
    map['id'] = _id;
    map['title'] = _title;
    map['summary'] = _summary;
    map['imgUrl'] = _imgUrl;
    map['type'] = _type;
    map['publishTime'] = _publishTime;
    return map;
  }

}